package c.e.b.h.e.t;

/* compiled from: RemoveRepeatsStrategy */
public class c implements d {
    public c(int i) {
    }

    /* JADX WARNING: Removed duplicated region for block: B:15:0x0040  */
    public java.lang.StackTraceElement[] a(java.lang.StackTraceElement[] r15) {
        /*
        r14 = this;
        r0 = new java.util.HashMap;
        r0.<init>();
        r1 = r15.length;
        r1 = new java.lang.StackTraceElement[r1];
        r2 = 0;
        r3 = 1;
        r4 = 0;
        r5 = 0;
        r6 = 1;
    L_0x000d:
        r7 = r15.length;
        if (r4 >= r7) goto L_0x0066;
    L_0x0010:
        r7 = r15[r4];
        r8 = r0.get(r7);
        r8 = (java.lang.Integer) r8;
        if (r8 == 0) goto L_0x0054;
    L_0x001a:
        r9 = r8.intValue();
        r10 = r4 - r9;
        r11 = r4 + r10;
        r12 = r15.length;
        if (r11 <= r12) goto L_0x0026;
    L_0x0025:
        goto L_0x0037;
    L_0x0026:
        r11 = 0;
    L_0x0027:
        if (r11 >= r10) goto L_0x003c;
    L_0x0029:
        r12 = r9 + r11;
        r12 = r15[r12];
        r13 = r4 + r11;
        r13 = r15[r13];
        r12 = r12.equals(r13);
        if (r12 != 0) goto L_0x0039;
    L_0x0037:
        r9 = 0;
        goto L_0x003d;
    L_0x0039:
        r11 = r11 + 1;
        goto L_0x0027;
    L_0x003c:
        r9 = 1;
    L_0x003d:
        if (r9 != 0) goto L_0x0040;
    L_0x003f:
        goto L_0x0054;
    L_0x0040:
        r8 = r8.intValue();
        r8 = r4 - r8;
        r9 = 10;
        if (r6 >= r9) goto L_0x0050;
    L_0x004a:
        java.lang.System.arraycopy(r15, r4, r1, r5, r8);
        r5 = r5 + r8;
        r6 = r6 + 1;
    L_0x0050:
        r8 = r8 + -1;
        r8 = r8 + r4;
        goto L_0x005c;
    L_0x0054:
        r6 = r15[r4];
        r1[r5] = r6;
        r5 = r5 + 1;
        r8 = r4;
        r6 = 1;
    L_0x005c:
        r4 = java.lang.Integer.valueOf(r4);
        r0.put(r7, r4);
        r4 = r8 + 1;
        goto L_0x000d;
    L_0x0066:
        r0 = new java.lang.StackTraceElement[r5];
        java.lang.System.arraycopy(r1, r2, r0, r2, r5);
        r1 = r15.length;
        if (r5 >= r1) goto L_0x006f;
    L_0x006e:
        return r0;
    L_0x006f:
        return r15;
        */
        throw new UnsupportedOperationException("Method not decompiled: c.e.b.h.e.t.c.a(java.lang.StackTraceElement[]):java.lang.StackTraceElement[]");
    }
}
